package com.dmz.etc.server.config;

import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

/**
 * @author lee
 */
@Component
public class EnvConfig {
    private static Environment environment;
    
    public EnvConfig(Environment env) {
        environment = env;
    }
    
    public static String getProperty(String key) {
        return environment.getProperty(key);
    }
}